package com.cmread.bplusc.reader.playmedia; class ScreenListener { void a() { int a;
a=0;// .class public Lcom/cmread/bplusc/reader/playmedia/ScreenListener;
a=0;// .super Ljava/lang/Object;
a=0;// .source "ScreenListener.java"
a=0;// 
a=0;// 
a=0;// # instance fields
a=0;// .field private mContext:Landroid/content/Context;
a=0;// 
a=0;// .field private mScreenReceiver:Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenBroadcastReceiver;
a=0;// 
a=0;// .field private mScreenStateListener:Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;
a=0;// 
a=0;// 
a=0;// # direct methods
a=0;// .method public constructor <init>(Landroid/content/Context;)V
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 15
a=0;//     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
a=0;// 
a=0;//     .line 16
a=0;//     #p0=(Reference,Lcom/cmread/bplusc/reader/playmedia/ScreenListener;);
a=0;//     iput-object p1, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mContext:Landroid/content/Context;
a=0;// 
a=0;//     .line 17
a=0;//     new-instance v0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenBroadcastReceiver;
a=0;// 
a=0;//     #v0=(UninitRef,Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenBroadcastReceiver;);
a=0;//     const/4 v1, 0x0
a=0;// 
a=0;//     #v1=(Null);
a=0;//     invoke-direct {v0, p0, v1}, Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenBroadcastReceiver;-><init>(Lcom/cmread/bplusc/reader/playmedia/ScreenListener;Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenBroadcastReceiver;)V
a=0;// 
a=0;//     #v0=(Reference,Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenBroadcastReceiver;);
a=0;//     iput-object v0, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mScreenReceiver:Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenBroadcastReceiver;
a=0;// 
a=0;//     .line 18
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method static synthetic access$0(Lcom/cmread/bplusc/reader/playmedia/ScreenListener;)Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 13
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mScreenStateListener:Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;
a=0;// 
a=0;//     #v0=(Reference,Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;);
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method private getScreenState()V
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 55
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mContext:Landroid/content/Context;
a=0;// 
a=0;//     .line 56
a=0;//     #v0=(Reference,Landroid/content/Context;);
a=0;//     const-string v1, "power"
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     .line 55
a=0;//     check-cast v0, Landroid/os/PowerManager;
a=0;// 
a=0;//     .line 57
a=0;//     invoke-virtual {v0}, Landroid/os/PowerManager;->isScreenOn()Z
a=0;// 
a=0;//     move-result v0
a=0;// 
a=0;//     #v0=(Boolean);
a=0;//     if-eqz v0, :cond_1
a=0;// 
a=0;//     .line 58
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mScreenStateListener:Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;
a=0;// 
a=0;//     #v0=(Reference,Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;);
a=0;//     if-eqz v0, :cond_0
a=0;// 
a=0;//     .line 59
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mScreenStateListener:Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;
a=0;// 
a=0;//     invoke-interface {v0}, Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;->onScreenOn()V
a=0;// 
a=0;//     .line 66
a=0;//     :cond_0
a=0;//     :goto_0
a=0;//     return-void
a=0;// 
a=0;//     .line 62
a=0;//     :cond_1
a=0;//     #v0=(Boolean);
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mScreenStateListener:Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;
a=0;// 
a=0;//     #v0=(Reference,Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;);
a=0;//     if-eqz v0, :cond_0
a=0;// 
a=0;//     .line 63
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mScreenStateListener:Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;
a=0;// 
a=0;//     invoke-interface {v0}, Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;->onScreenOff()V
a=0;// 
a=0;//     goto :goto_0
a=0;// .end method
a=0;// 
a=0;// .method private registerListener()V
a=0;//     .locals 3
a=0;// 
a=0;//     .prologue
a=0;//     .line 79
a=0;//     new-instance v0, Landroid/content/IntentFilter;
a=0;// 
a=0;//     #v0=(UninitRef,Landroid/content/IntentFilter;);
a=0;//     invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V
a=0;// 
a=0;//     .line 80
a=0;//     #v0=(Reference,Landroid/content/IntentFilter;);
a=0;//     const-string v1, "android.intent.action.SCREEN_ON"
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V
a=0;// 
a=0;//     .line 81
a=0;//     const-string v1, "android.intent.action.SCREEN_OFF"
a=0;// 
a=0;//     invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V
a=0;// 
a=0;//     .line 82
a=0;//     const-string v1, "android.intent.action.USER_PRESENT"
a=0;// 
a=0;//     invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V
a=0;// 
a=0;//     .line 83
a=0;//     iget-object v1, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mContext:Landroid/content/Context;
a=0;// 
a=0;//     iget-object v2, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mScreenReceiver:Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenBroadcastReceiver;
a=0;// 
a=0;//     #v2=(Reference,Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenBroadcastReceiver;);
a=0;//     invoke-virtual {v1, v2, v0}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
a=0;// 
a=0;//     .line 84
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// 
a=0;// # virtual methods
a=0;// .method public begin(Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;)V
a=0;//     .locals 0
a=0;// 
a=0;//     .prologue
a=0;//     .line 46
a=0;//     iput-object p1, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mScreenStateListener:Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenStateListener;
a=0;// 
a=0;//     .line 47
a=0;//     invoke-direct {p0}, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->registerListener()V
a=0;// 
a=0;//     .line 48
a=0;//     invoke-direct {p0}, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->getScreenState()V
a=0;// 
a=0;//     .line 49
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public unregisterListener()V
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 72
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mContext:Landroid/content/Context;
a=0;// 
a=0;//     #v0=(Reference,Landroid/content/Context;);
a=0;//     iget-object v1, p0, Lcom/cmread/bplusc/reader/playmedia/ScreenListener;->mScreenReceiver:Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenBroadcastReceiver;
a=0;// 
a=0;//     #v1=(Reference,Lcom/cmread/bplusc/reader/playmedia/ScreenListener$ScreenBroadcastReceiver;);
a=0;//     invoke-virtual {v0, v1}, Landroid/content/Context;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
a=0;// 
a=0;//     .line 73
a=0;//     return-void
a=0;// .end method
}}
